Vue.component('home-header', {
    data: function () {
        return {
            'i18n': {
                'placeholder': '全文检索...'
            }
        }
    },
    template: '\
    <nav class="navbar navbar-default">\
        <div class="container-fluid">\
        <div class="navbar-header">\
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#home-header-navbar" aria-expanded="false">\
                <span class="sr-only">菜单</span>\
                <span class="icon-bar"></span>\
                <span class="icon-bar"></span>\
                <span class="icon-bar"></span>\
            </button>\
            <a class="navbar-brand" href="#"><span><i class="fa fa-umbrella" aria-hidden="true"></i>&nbsp;江湖梦数据标准化</span></a>\
        </div>\
        <div class="collapse navbar-collapse" id="home-header-navbar">\
            <ul class="nav navbar-nav">\
                <li><a style="cursor:default;">&nbsp;</a></li>\
                <li class="dropdown">\
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">后台管理平台 \
                        <span class="caret"></span></a>\
                    <ul class="dropdown-menu">\
                        <li><a href="#">数据标准平台</a></li>\
                        <li><a href="#">数据业务平台</a></li>\
                        <li><a href="#">数据分析平台</a></li>\
                        <li role="separator" class="divider"></li>\
                        <li><a href="#">数据可视化</a></li>\
                    </ul>\
                </li>\
            </ul>\
            <form class="navbar-form navbar-left">\
            <div class="form-group">\
                <div class="input-group"> \
                    <input type="text" class="form-control" :placeholder="i18n.placeholder" />\
                    <div class="input-group-addon"><i class="fa fa-search"></i></div> \
                </div>\
            </div>\
            </form>\
            <ul class="nav navbar-nav navbar-right">\
            <li><a href="#">Link</a></li>\
            <li class="dropdown">\
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">\
                    <i class="fa fa-user-circle" aria-hidden="true"></i>&nbsp;临时游客 \
                    <span class="caret"></span></a>\
                <ul class="dropdown-menu">\
                    <li><a href="#">修改密码</a></li>\
                    <li><a href="#">首页定制</a></li>\
                    <li role="separator" class="divider"></li>\
                    <li><a href="#">退出</a></li>\
                </ul>\
            </li>\
            </ul>\
        </div>\
        </div>\
    </nav>\
    '
});